package net.hn.hnms.biz.project.vo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 刘昊
 * @date 2024-03-15 13:57
 */
@Data
@ApiModel("施工进度报告")
public class ProgressReportVo extends BaseVO implements Serializable {

    @ApiModelProperty(value = "id")
    private String progressId;

    @ApiModelProperty(value = "施工计划id")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String constructionId;

    @ApiModelProperty(value = "施工报告")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String report;

    @ApiModelProperty(value = "报告地址")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String reportPath;

    @ApiModelProperty(value = "报告类型")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String reportType;

    @ApiModelProperty(value = "报告时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Date reportTime;
}
